 //控制层 
app.controller('indexController' ,function($scope,$controller,indexService){	
	
	$controller('baseController',{$scope:$scope});//继承
	
	//查询实体 
	$scope.getName=function(){				
		indexService.getName().success(
			function(response){
				$scope.entity= response;	
			}
		);				
	}
	
    
});	
